import React from 'react';
import { useParams } from 'react-router-dom';
const Edit: React.FC = () => {
    const { id } = useParams();
    console.log(id);
    return (
        <div>
            <h1>Edit {id}</h1>
        </div>
    )
};

export default Edit
